﻿using System;

using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace OneClick
{
    public partial class frm_Main : Form
    {
        public frm_Main()
        {
            InitializeComponent();
        }

        private void tv_Main_AfterCheck(object sender, TreeViewEventArgs e)
        {
            foreach (TreeNode node in this.tv_Main.Nodes)
            {
                if (!node.Equals(e.Node))
                {
                    node.Checked = false;
                }
            }
        }

    }
}